package XMLread;
import java.util.ArrayList;


public class Floor {
	private int floorID;
	private ArrayList<Hallway> hallways;
	
	public Floor(String id){
		setFloorID(id);
		hallways = new ArrayList<Hallway>();
	}
	
	public Floor(){
		hallways = new ArrayList<Hallway>();
	}

	public int getID(){
		return floorID;
	}
	
	public void setFloorID(String id){
		floorID = Integer.valueOf(id);
	}
	
	public ArrayList<Hallway> getHallways(){
		return hallways;
	}

	public void addHallway(Hallway hall) {
		hallways.add(hall);
		
	}
}
